<div data-dux="table-bind">
    <div class="dux-page-header uk-clearfix">
        <div class="page-title">
            <form class="dux-form uk-form  uk-form-inline" method="get" action="{url()}">
                <div class="uk-form-group">
                    <input type="text" name="keyword" class="uk-form-field" value="{$pageMaps.keyword}" placeholder="搜索">
                </div>
                <div class="uk-form-group">
                    <button type="submit" class="uk-button uk-button-primary "><i class="fa fa-search"></i></button>
                </div>
            </form>
        </div>
    </div>
    <div class="dux-page-table">
        <table class="uk-table  uk-table-responsive  uk-table-striped uk-table-hover uk-table-middle dux-table" data-table>
            <thead>
            <tr>
                <th width="100">#</th>
                <th>模块</th>
                <th width="200">标记</th>
                <th>创建/运行时间</th>
                <th>计划时间</th>
                <th>备注</th>
                <th width="200">状态</th>
                <th class="uk-text-center" width="100">管理</th>
            </tr>
            </thead>
            <tbody>
            <!--loop{$list as $vo}-->
            <tr>
                <td>{$vo.queue_id}</td>
                <td>{$vo.target}:{$vo.action}:{$vo.has_id}</td>
                <td>{$vo.label}</td>
                <td>{date('Y-m-d H:i:s', $vo.create_time)}
                <p>{$vo.run_time ? date('Y-m-d H:i:s', $vo.run_time) : ''}</p>
                </td>
                <td>{$vo.start_time ? date('Y-m-d H:i:s', $vo.start_time) : '立即'}</td>
                <td>{$vo.remark}</td>
                <td>
                    <!--if{!$vo.status}-->
                    <span class="uk-text-danger">失败</span>
                    <p>{$vo.message}</p>
                    <!--{/if}-->
                    <!--if{$vo.status == 1}-->
                    <span class="uk-text-warning">队列中</span>
                    <!--{/if}-->
                    <!--if{$vo.status == 2}-->
                    <span class="uk-text-success">完成</span>
                    <!--{/if}-->
                </td>
                <td class="uk-text-center">
                    <a class="uk-button uk-button-danger uk-button-small" href="javascript:;" data-url="{url('del')}" data-id="{$vo[$pri]}" title="删除" data-del><i class=" fa fa-trash"></i></a>
                </td>
            </tr>
            <!--{/loop}-->
            </tbody>
        </table>
    </div>
    <div class="dux-page-foot uk-clearfix">
        {$page}
    </div>
</div>